package com.ssm.subject.domain.convert;

import com.ssm.subject.domain.bo.SubjectAnswerBO;
import com.ssm.subject.domain.bo.SubjectInfoBO;
import com.ssm.subject.infra.basic.entity.SubjectBrief;
import com.ssm.subject.infra.basic.entity.SubjectJudge;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SubjectBriefConvert {
    SubjectBriefConvert INSTANCE = Mappers.getMapper(SubjectBriefConvert.class);

    //SubjectInfoBO 转 SubjectBrief (两个类属性名相同即可转)
    SubjectBrief subjectInfoBoToBrief(SubjectInfoBO subjectInfoBO);
}
